package com.shelpe.services.sinbad.entity.jpa;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Entity
@Table(name = "purchase_users_order")
@Data
public class PurchaseOrder {

	@Id
	@Column(name = "order_id")
	private long orderID;
	private String nick;

	@Column(name = "article_name")
	private String articleName;
	@Column(name = "article_code")
	private String articleCode;
	@Column(name = "item_name")
	private String itemName;
	@Column(name = "item_code")
	private String itemCode;

	@Column(name = "order_cycle_start")
	private Date orderCycleStart;
	@Column(name = "order_cycle_end")
	private Date orderCycleEnd;
	@Column(name = "create_time")
	private Date createTime;

	@Column(name = "activity_code")
	private String activityCode;
	@Column(name = "total_pay_fee")
	private int payFee;
}
